//
//  JPDetailedHeaderView.m
//  用户信息设置
//
//  Created by 周述坚 on 16/11/14.
//  Copyright © 2016年 周述坚. All rights reserved.
//

#import "JPDoctorHeaderView.h"

@interface JPDoctorHeaderView()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *professionLabel;
@property (weak, nonatomic) IBOutlet UILabel *hospitalLabel;

@end

@implementation JPDoctorHeaderView

- (IBAction)oneAction:(id)sender {
    self.completion01();
}

- (IBAction)towAction:(id)sender {
    self.completion02();
}
- (IBAction)threeAction:(id)sender {
    self.completion03();
}

- (void)setDoctorDetail:(JPDoctorModel *)doctorDetail {
    
    _doctorDetail = doctorDetail;
    self.nameLabel.text = doctorDetail.doctor_name;
    self.professionLabel.text = doctorDetail.doctor_title_name;
    self.hospitalLabel.text = doctorDetail.hospital_name;
}


@end
